"""
固件下载程序核心模块
基于整洁架构设计，提供固件下载的核心功能
"""

from .config import g_config, XcpConfig, CanConfig, DownloadConfig
from .transport_interface import ITransport, TransCanFrame, MockTransport, UsbCanTransport
from .xcp_protocol import XcpProtocol
from .firmware_manager import FirmwareManager, FirmwareSegment
from .download_controller import DownloadController

__version__ = "1.0.0"
__all__ = [
    "g_config",
    "XcpConfig", 
    "CanConfig", 
    "DownloadConfig",
    "ITransport", 
    "TransCanFrame", 
    "MockTransport", 
    "UsbCanTransport",
    "XcpProtocol",
    "FirmwareManager", 
    "FirmwareSegment",
    "DownloadController"
] 